/*
 * IVCRError.java
 *
 * Created on January 5, 2006, 2:07 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.mbari.vcr;

import org.mbari.util.IObservable;

/**
 *
 * @author brian
 */
public interface IVCRError extends IObservable {
    
    /** Everything is OK */
    int OK = 0x00;
    
    /**
     * Although this is a potentially useful method. Most programs will be getter
     * served by the various 'is' methods.
     * 
     * @return the integer error code
     */
    int getError();

    boolean isChecksumError();

    boolean isFramingError();

    boolean isOK();

    boolean isOverrunError();

    boolean isParityError();

    boolean isTimeout();

    boolean isUndefinedCommand();
    
}
